(function(){
function $script_css(content,type){
	if(type==".js"){
	var blob = new Blob([content], { type: "text/plain;charset=utf-8" });
var j = document.createElement("script");
j.type = "text/javascript";
j.src = URL.createObjectURL(blob);
document.getElementsByTagName("head")[0].appendChild(j);
	}
  }


function f(fileUrl){
	var k=document.getElementsByTagName('script');
	var f="";
	for(var j=0;j<k.length;j++){
		
			if(k[j].type=="zhongwen-js")
			f+=k[j].innerText;
		}

		
	var a="";
	var b=["函数","变量","函数(","常量","设","如果","否则","对于","判断","当","实例","类型","新建","捕捉","然后","返回","无","此","继续","默认","抛出","删除","实验","中断","执行","等待","遍历","后处理","若为"," "];
	for(var n=0;n<b.length;n++){
		switch(b[n]){
			case "函数":a=f.replace(/函数 /g,'function ');f=a;break;
			case "函数(":a=f.replace(/函数[(]/g,'function(');f=a;break;
			case "变量":a=f.replace(/变量 /g,'var ');f=a;break;
			case "常量":a=f.replace(/常量 /g,'const ');f=a;break;
			case "设":a=f.replace(/设 /g,'let ');f=a;break;
			
			case "如果":a=f.replace(/如果[(]/g,'if(');f=a;break;
			case "否则":a=f.replace(/否则[(]/g,'else{');f=a;break;
			case "对于":a=f.replace(/对于[(]/g,'for(');f=a;break;
			case "判断":a=f.replace(/判断[(]/g,'switch(');f=a;break;
			case "当":a=f.replace(/当[(]/g,'while(');f=a;break;
			case "实例":a=f.replace(/实例 /g,'instanceof ');f=a;break;
			case "类型":a=f.replace(/类型 /g,'typeof ');f=a;break;
			case "若为":a=f.replace(/若为 /g,'case ');f=a;break;
			case "默认":a=f.replace(/默认[:]/g,'default:');f=a;break;
			case "新建":a=f.replace(/新建 /g,'new ');f=a;break;
			case "捕捉":a=f.replace(/捕捉[(]/g,'catch(');f=a;break;
			case "后处理":a=f.replace(/后处理 /g,'finally');f=a;break;
			case "返回":a=f.replace(/返回 /g,'return ');f=a;break;
			case "无":a=f.replace(/无 /g,'void ');f=a;break;
			case "此":a=f.replace(/此 /g,'let ');f=a;break;
			case "继续":a=f.replace(/继续 /g,'function ');f=a;break;
			case "抛出 ":a=f.replace(/抛出 /g,'throw ');f=a;break;
			case "删除 ":a=f.replace(/删除 /g,'delete ');f=a;break;
			case "实验{":a=f.replace(/实验{/g,'try{');f=a;break;
			case "中断":a=f.replace(/中断/g,'break');f=a;break;
     		case "等待":a=f.replace(/等待 /g,'await');f=a;break;
			case "遍历":a=f.replace(/遍历[(]/g,'forEach(');f=a;break;
			case "然后":a=f.replace(/然后[(]/g,'then(');f=a;break;
			case " ":a=f.replace(/ /g,' ');f=a;break;
			}
		}	
	$script_css(a,".js")
		//}
	}
    window.中文化js=f;
})()	
	